const nodemailer = require('./nodemailer.js')
module.exports = async(ctx) => {
    // console.log(ctx.request.body);
    let rdm = Math.floor(Math.random() * (999999 - 100000 + 1) + 100000)
    nodemailer("1977298150@qq.com", `您的验证码为:${rdm}`);
    ctx.body = rdm
}